package com.forekonw.demotest1028;

public class Employee {
    private int empno;
    private String name;
    private int deptno;
    private double sal;

    public Employee(){

    }

    public Employee(int empno,String name,int deptno,double sal){
        this.deptno =deptno;
        this.empno = empno;
        this.name = name;
        this.sal = sal;
    }

    public int getEmpno() {
        return empno;
    }

    public void setEmpno(int empno) {
        this.empno = empno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

}
